<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>DSF2FLAC: main.cpp File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">DSF2FLAC
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#define-members">Defines</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">main.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;boost/timer/timer.hpp&gt;</code><br/>
<code>#include &lt;boost/filesystem.hpp&gt;</code><br/>
<code>#include &lt;<a class="el" href="dsd__decimator_8h_source.html">dsd_decimator.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="dsf__file__reader_8h_source.html">dsf_file_reader.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="dsdiff__file__reader_8h_source.html">dsdiff_file_reader.h</a>&gt;</code><br/>
<code>#include &lt;<a class="el" href="tagConversion_8h_source.html">tagConversion.h</a>&gt;</code><br/>
<code>#include &quot;FLAC++/metadata.h&quot;</code><br/>
<code>#include &quot;FLAC++/encoder.h&quot;</code><br/>
<code>#include &quot;math.h&quot;</code><br/>
<code>#include &quot;<a class="el" href="cmdline_8h_source.html">cmdline.h</a>&quot;</code><br/>
<code>#include &lt;sstream&gt;</code><br/>
<code>#include &quot;<a class="el" href="dop__packer_8h_source.html">dop_packer.h</a>&quot;</code><br/>
</div><table class="memberdecls">
<tr><td colspan="2"><h2><a name="define-members"></a>
Defines</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">#define&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#affa2c92c8e2001f6c93a5e7ff40450fd">flacBlockLen</a>&#160;&#160;&#160;100</td></tr>
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static nanosecond_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#ad5e604a2387b6ef95a30993004b86b5c">reportInterval</a> (100000000LL)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a2728465f55a06d60bbb99a2e8510a493">setupTimer</a> (<a class="el" href="dsf2flac__types_8h.html#aad8d9b1c27a6e9fbe39f194360bf0324">dsf2flac_float64</a> currPos)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a2eae7e7839867e5507bc6e79f9bc27c2">checkTimer</a> (<a class="el" href="dsf2flac__types_8h.html#aad8d9b1c27a6e9fbe39f194360bf0324">dsf2flac_float64</a> currPos, <a class="el" href="dsf2flac__types_8h.html#aad8d9b1c27a6e9fbe39f194360bf0324">dsf2flac_float64</a> percent)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">boost::filesystem::path&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a8096ac0de4b115b5e6f751ce630bac27">muti_track_name_helper</a> (boost::filesystem::path outpath, int n)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a47ad9dc4cd2c9d33a486275acc586bfc">pcm_track_helper</a> (boost::filesystem::path outpath, <a class="el" href="classdsdDecimator.html">dsdDecimator</a> *dec, int bits, <a class="el" href="dsf2flac__types_8h.html#aad8d9b1c27a6e9fbe39f194360bf0324">dsf2flac_float64</a> scale, <a class="el" href="dsf2flac__types_8h.html#aad8d9b1c27a6e9fbe39f194360bf0324">dsf2flac_float64</a> tpdfDitherPeakAmplitude, <a class="el" href="dsf2flac__types_8h.html#aad8d9b1c27a6e9fbe39f194360bf0324">dsf2flac_float64</a> startPos, <a class="el" href="dsf2flac__types_8h.html#aad8d9b1c27a6e9fbe39f194360bf0324">dsf2flac_float64</a> endPos, ID3_Tag id3tag)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a0c01ca3aec712a4ff9c2497cc901bcbd">do_pcm_conversion</a> (<a class="el" href="classdsdSampleReader.html">dsdSampleReader</a> *dsr, int fs, int bits, bool dither, <a class="el" href="dsf2flac__types_8h.html#aad8d9b1c27a6e9fbe39f194360bf0324">dsf2flac_float64</a> userScale, boost::filesystem::path inpath, boost::filesystem::path outpath)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#ab1498a8912b56a8195c91f5fd4786c34">dop_track_helper</a> (boost::filesystem::path outpath, <a class="el" href="classdsdSampleReader.html">dsdSampleReader</a> *dsr, <a class="el" href="dsf2flac__types_8h.html#afb5a83fbea5217eba40a40381a60bf9d">dsf2flac_int64</a> startPos, <a class="el" href="dsf2flac__types_8h.html#afb5a83fbea5217eba40a40381a60bf9d">dsf2flac_int64</a> endPos, ID3_Tag id3tag)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a726d572e7a43c8f8804bc73bffaed759">do_dop_conversion</a> (<a class="el" href="classdsdSampleReader.html">dsdSampleReader</a> *dsr, boost::filesystem::path inpath, boost::filesystem::path outpath)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static cpu_timer&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a355c9c3ce2efb825aba468571234fe30">timer</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="dsf2flac__types_8h.html#aad8d9b1c27a6e9fbe39f194360bf0324">dsf2flac_float64</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a60d4ece6ff0342728dfed9ba7fdbbc4e">lastPos</a></td></tr>
</table>
<hr/><h2>Define Documentation</h2>
<a class="anchor" id="affa2c92c8e2001f6c93a5e7ff40450fd"></a><!-- doxytag: member="main.cpp::flacBlockLen" ref="affa2c92c8e2001f6c93a5e7ff40450fd" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">#define <a class="el" href="main_8cpp.html#affa2c92c8e2001f6c93a5e7ff40450fd">flacBlockLen</a>&#160;&#160;&#160;100</td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>dsf2flac - <a href="http://code.google.com/p/dsf2flac/">http://code.google.com/p/dsf2flac/</a></p>
<p>A file conversion tool for translating dsf dsd audio files into flac pcm audio files.</p>
<p>Copyright (c) 2013 by respective authors.</p>
<p>This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.</p>
<p>This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.</p>
<p>You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA</p>
<p>Acknowledgements</p>
<p>Many thanks to the following authors and projects whose work has greatly helped the development of this tool.</p>
<p>Sebastian Gesemann - dsd2pcm (<a href="http://code.google.com/p/dsd2pcm/">http://code.google.com/p/dsd2pcm/</a>) SACD Ripper (<a href="http://code.google.com/p/sacd-ripper/">http://code.google.com/p/sacd-ripper/</a>) Maxim V.Anisiutkin - foo_input_sacd (<a href="http://sourceforge.net/projects/sacddecoder/files/">http://sourceforge.net/projects/sacddecoder/files/</a>) Vladislav Goncharov - foo_input_sacd_hq (<a href="http://vladgsound.wordpress.com">http://vladgsound.wordpress.com</a>) Jesus R - www.sonore.us </p>

</div>
</div>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a2eae7e7839867e5507bc6e79f9bc27c2"></a><!-- doxytag: member="main.cpp::checkTimer" ref="a2eae7e7839867e5507bc6e79f9bc27c2" args="(dsf2flac_float64 currPos, dsf2flac_float64 percent)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="main_8cpp.html#a2eae7e7839867e5507bc6e79f9bc27c2">checkTimer</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="dsf2flac__types_8h.html#aad8d9b1c27a6e9fbe39f194360bf0324">dsf2flac_float64</a>&#160;</td>
          <td class="paramname"><em>currPos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="dsf2flac__types_8h.html#aad8d9b1c27a6e9fbe39f194360bf0324">dsf2flac_float64</a>&#160;</td>
          <td class="paramname"><em>percent</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>void <a class="el" href="main_8cpp.html#a2eae7e7839867e5507bc6e79f9bc27c2">checkTimer(dsf2flac_float64 currPos, dsf2flac_float64 percent)</a></p>
<p>called to report progress to the user. </p>

</div>
</div>
<a class="anchor" id="a726d572e7a43c8f8804bc73bffaed759"></a><!-- doxytag: member="main.cpp::do_dop_conversion" ref="a726d572e7a43c8f8804bc73bffaed759" args="(dsdSampleReader *dsr, boost::filesystem::path inpath, boost::filesystem::path outpath)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="main_8cpp.html#a726d572e7a43c8f8804bc73bffaed759">do_dop_conversion</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classdsdSampleReader.html">dsdSampleReader</a> *&#160;</td>
          <td class="paramname"><em>dsr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boost::filesystem::path&#160;</td>
          <td class="paramname"><em>inpath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boost::filesystem::path&#160;</td>
          <td class="paramname"><em>outpath</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>int do_dop_conversion</p>
<p>this function handles conversion into DoP encoded flac </p>

</div>
</div>
<a class="anchor" id="a0c01ca3aec712a4ff9c2497cc901bcbd"></a><!-- doxytag: member="main.cpp::do_pcm_conversion" ref="a0c01ca3aec712a4ff9c2497cc901bcbd" args="(dsdSampleReader *dsr, int fs, int bits, bool dither, dsf2flac_float64 userScale, boost::filesystem::path inpath, boost::filesystem::path outpath)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="main_8cpp.html#a0c01ca3aec712a4ff9c2497cc901bcbd">do_pcm_conversion</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classdsdSampleReader.html">dsdSampleReader</a> *&#160;</td>
          <td class="paramname"><em>dsr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>fs</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>bits</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>dither</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="dsf2flac__types_8h.html#aad8d9b1c27a6e9fbe39f194360bf0324">dsf2flac_float64</a>&#160;</td>
          <td class="paramname"><em>userScale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boost::filesystem::path&#160;</td>
          <td class="paramname"><em>inpath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">boost::filesystem::path&#160;</td>
          <td class="paramname"><em>outpath</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ab1498a8912b56a8195c91f5fd4786c34"></a><!-- doxytag: member="main.cpp::dop_track_helper" ref="ab1498a8912b56a8195c91f5fd4786c34" args="(boost::filesystem::path outpath, dsdSampleReader *dsr, dsf2flac_int64 startPos, dsf2flac_int64 endPos, ID3_Tag id3tag)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="main_8cpp.html#ab1498a8912b56a8195c91f5fd4786c34">dop_track_helper</a> </td>
          <td>(</td>
          <td class="paramtype">boost::filesystem::path&#160;</td>
          <td class="paramname"><em>outpath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classdsdSampleReader.html">dsdSampleReader</a> *&#160;</td>
          <td class="paramname"><em>dsr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="dsf2flac__types_8h.html#afb5a83fbea5217eba40a40381a60bf9d">dsf2flac_int64</a>&#160;</td>
          <td class="paramname"><em>startPos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="dsf2flac__types_8h.html#afb5a83fbea5217eba40a40381a60bf9d">dsf2flac_int64</a>&#160;</td>
          <td class="paramname"><em>endPos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ID3_Tag&#160;</td>
          <td class="paramname"><em>id3tag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>dop_track_helper </p>

</div>
</div>
<a class="anchor" id="a3c04138a5bfe5d72780bb7e82a18e627"></a><!-- doxytag: member="main.cpp::main" ref="a3c04138a5bfe5d72780bb7e82a18e627" args="(int argc, char **argv)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>argv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>int <a class="el" href="main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main(int argc, char **argv)</a></p>
<p>Main </p>

</div>
</div>
<a class="anchor" id="a8096ac0de4b115b5e6f751ce630bac27"></a><!-- doxytag: member="main.cpp::muti_track_name_helper" ref="a8096ac0de4b115b5e6f751ce630bac27" args="(boost::filesystem::path outpath, int n)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">boost::filesystem::path <a class="el" href="main_8cpp.html#a8096ac0de4b115b5e6f751ce630bac27">muti_track_name_helper</a> </td>
          <td>(</td>
          <td class="paramtype">boost::filesystem::path&#160;</td>
          <td class="paramname"><em>outpath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>n</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>muti_track_name_helper</p>
<p>little helper to construct file names for multiple track files. </p>

</div>
</div>
<a class="anchor" id="a47ad9dc4cd2c9d33a486275acc586bfc"></a><!-- doxytag: member="main.cpp::pcm_track_helper" ref="a47ad9dc4cd2c9d33a486275acc586bfc" args="(boost::filesystem::path outpath, dsdDecimator *dec, int bits, dsf2flac_float64 scale, dsf2flac_float64 tpdfDitherPeakAmplitude, dsf2flac_float64 startPos, dsf2flac_float64 endPos, ID3_Tag id3tag)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="main_8cpp.html#a47ad9dc4cd2c9d33a486275acc586bfc">pcm_track_helper</a> </td>
          <td>(</td>
          <td class="paramtype">boost::filesystem::path&#160;</td>
          <td class="paramname"><em>outpath</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classdsdDecimator.html">dsdDecimator</a> *&#160;</td>
          <td class="paramname"><em>dec</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>bits</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="dsf2flac__types_8h.html#aad8d9b1c27a6e9fbe39f194360bf0324">dsf2flac_float64</a>&#160;</td>
          <td class="paramname"><em>scale</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="dsf2flac__types_8h.html#aad8d9b1c27a6e9fbe39f194360bf0324">dsf2flac_float64</a>&#160;</td>
          <td class="paramname"><em>tpdfDitherPeakAmplitude</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="dsf2flac__types_8h.html#aad8d9b1c27a6e9fbe39f194360bf0324">dsf2flac_float64</a>&#160;</td>
          <td class="paramname"><em>startPos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="dsf2flac__types_8h.html#aad8d9b1c27a6e9fbe39f194360bf0324">dsf2flac_float64</a>&#160;</td>
          <td class="paramname"><em>endPos</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ID3_Tag&#160;</td>
          <td class="paramname"><em>id3tag</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>int track_helper()</p>
<p>converts a track at a time to PCM FLAC </p>

</div>
</div>
<a class="anchor" id="ad5e604a2387b6ef95a30993004b86b5c"></a><!-- doxytag: member="main.cpp::reportInterval" ref="ad5e604a2387b6ef95a30993004b86b5c" args="(100000000LL)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static nanosecond_type <a class="el" href="main_8cpp.html#ad5e604a2387b6ef95a30993004b86b5c">reportInterval</a> </td>
          <td>(</td>
          <td class="paramtype">100000000LL&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a2728465f55a06d60bbb99a2e8510a493"></a><!-- doxytag: member="main.cpp::setupTimer" ref="a2728465f55a06d60bbb99a2e8510a493" args="(dsf2flac_float64 currPos)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="main_8cpp.html#a2728465f55a06d60bbb99a2e8510a493">setupTimer</a> </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="dsf2flac__types_8h.html#aad8d9b1c27a6e9fbe39f194360bf0324">dsf2flac_float64</a>&#160;</td>
          <td class="paramname"><em>currPos</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>void <a class="el" href="main_8cpp.html#a2728465f55a06d60bbb99a2e8510a493">setupTimer(dsf2flac_float64 currPos)</a></p>
<p>called by main to setup the boost timer for reporting progress to the user </p>

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="a60d4ece6ff0342728dfed9ba7fdbbc4e"></a><!-- doxytag: member="main.cpp::lastPos" ref="a60d4ece6ff0342728dfed9ba7fdbbc4e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="dsf2flac__types_8h.html#aad8d9b1c27a6e9fbe39f194360bf0324">dsf2flac_float64</a> <a class="el" href="main_8cpp.html#a60d4ece6ff0342728dfed9ba7fdbbc4e">lastPos</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a355c9c3ce2efb825aba468571234fe30"></a><!-- doxytag: member="main.cpp::timer" ref="a355c9c3ce2efb825aba468571234fe30" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">cpu_timer <a class="el" href="main_8cpp.html#a355c9c3ce2efb825aba468571234fe30">timer</a><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Fri Sep 13 2013 14:17:51 for DSF2FLAC by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
